chrome.extension.onRequest.addListener(
	function(request, sender, sendResponse) {
		if(request.action == "getDOM")
		{
			sendResponse({dom: document.body.innerText});
		}
		else
			sendResponse({});
	}	
);